body,td,th,div,span,h1,h2,input,select,option,textarea,label,form,p,pre { margin: 0; font-size: 14px; font-family: 'Microsoft YaHei' }

/*******************************************************************************
 * 调整导航条最小高度
 ******************************************************************************/
.navbar {
	min-height: 20px;
	margin-bottom: 0;
	border-radius: 0;
}

/*******************************************************************************
 * 全局下拉菜单
 ******************************************************************************/
.dropdown-menu-global.dropdown-menu {
	background-color: #333;
}

.dropdown-menu-global.dropdown-menu>li>a {
	color: #999;
}

.dropdown-menu-global.dropdown-menu>li>a:hover, 
.dropdown-menu-global.dropdown-menu>li>a:focus {
	color: blue;
}

/*******************************************************************************
 * input-group 里的下拉菜单
 ******************************************************************************/
.input-group .dropdown-menu {
	margin-top: 34px;
}

/*******************************************************************************
 * 页面级导航条
 ******************************************************************************/
.page-navbar {
	margin-bottom: 1px;
}

.page-navbar .navbar-text {
	margin-top: 8px;
	margin-bottom: 7px;
	margin-left: 2px;
	margin-right: 15px;
	float: left;
}

.page-navbar .navbar-text-home {
	margin-right: 5px;
}

.page-navbar .navbar-btn {
	margin-top: 7px;
	margin-bottom: 6px;
}

.page-navbar .navbar-form {
	padding-top: 0;
	padding-bottom: 0;
	margin-top: 0;
	margin-bottom: 1px;
	padding-right: 0;
	margin-right: 0;
}

@media ( max-width : 767px) {
	.page-navbar {
		border-bottom: none;
		margin-bottom: 0;
	}
	.page-navbar .navbar-form {
		clear: both;
		margin-bottom: 5px;
		border: none;
		padding-left: 17px;
		padding-right: 2px;
	}
	.page-navbar .navbar-form .form-group {
		margin-bottom: 5px;
	}
}

.page-toolbar {
	border: none;
	padding-top: 3px;
	padding-bottom: 3px;
}

/*******************************************************************************
 * 扩展 modal 对话框样式
 ******************************************************************************/
.modal-content.modal-success {
	background-color: #dff0d8;
	color: #000;
}

.modal-content.modal-warning {
	background-color: #FFF9F9;
	color: #ED6666;
}

/*******************************************************************************
 * 扩展 .table 样式
 ******************************************************************************/
table.table-bordered {
	margin-bottom: 0;
}

table.table-bordered>thead {
	background-color: #D9EDEF;
}

table.table-bordered>tbody>tr>th.hcol {
	background-color: #D9EDEF;
}

table.table>thead>tr.center>th,
table.table>thead>tr>th.center, 
table.table>tbody>tr.center>th,
table.table>tbody>tr>th.center,
table.table>tbody>tr.center>td,
table.table>tbody>tr>td.center {
	text-align: center;
}

table.table>thead>tr.left>th,
table.table>thead>tr>th.left, 
table.table>tbody>tr.left>th,
table.table>tbody>tr>th.left,
table.table>tbody>tr.left>td,
table.table>tbody>tr>td.left {
	text-align: left;
}

table.table>thead>tr.right>th,
table.table>thead>tr>th.right, 
table.table>tbody>tr.right>th,
table.table>tbody>tr>th.right,
table.table>tbody>tr.right>td,
table.table>tbody>tr>td.right {
	text-align: right;
}

/*******************************************************************************
 * 详情页面的表格
 ******************************************************************************/
table.detail {
	line-height: 34px;
}

table.detail th {
	text-align: right;
	padding-right: 3px;
}

/*******************************************************************************
 * 扩展 ztree 样式
 ******************************************************************************/
.ztree li span.button.add {margin-left:2px; margin-right: -1px; background-position:-144px 0; vertical-align:top; *vertical-align:middle}

/* 加大 ztree 的行距 */
.ztree li {
	margin: 5px 0;
}

/* 加大 ztree 按钮间距 */
.ztree li span.button.add,
.ztree li span.button.edit,
.ztree li span.button.remove {
	margin: 0  0 0 10px;
}

/* 下拉式 ztree 样式 */
.ztree.dropdown-ztree {
	position: absolute;
	top: 100%;
	left: 0;
	z-index: 1000;
	display: none;
	float: left;
	min-width: 160px;
	padding: 10px 5px;
	margin: 2px 0 0;
	font-size: 14px;
	text-align: left;
	list-style: none;
	background-color: #ECF6FE;
	-webkit-background-clip: padding-box;
	background-clip: padding-box;
	border: 1px solid #CCC;
	border: 1px solid rgba(0, 0, 0, .15);
	border-radius: 4px;
	-webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, .175);
	box-shadow: 0 6px 12px rgba(0, 0, 0, .175);
}

.open>.ztree.dropdown-ztree {
	display: block;
}

/*******************************************************************************
 * 扩展 nice Validator 主题样式
 ******************************************************************************/
.n-yellow .n-bottom {
	position: absolute;
	z-index: 10;
	margin-top: 35px;
}

.n-yellow .n-bottom .n-arrow {
	top: -4px;
	height: 4px;
}

.n-yellow .n-bottom .msg-wrap {
	position: relative;
	margin: 0;
	padding: 2px 4px 0px 4px;
	border-color: #ff0000;
	border-radius: 3px;
}

.n-yellow .n-bottom .msg-wrap .n-arrow b {
	color: #ff0000;
}